Skip to content

Windows build errors - #137

Closed
ynks wants to merge 18 commits into
devfrom
hotfix/windows
Closed

ynks wants to merge 18 commits into
devfrom
hotfix/windows

Conversation

@ynks

@ynks ynks commented May 9, 2026

Copy link
Copy Markdown
Member

No description provided.

@ynks

ynks commented May 9, 2026

Copy link
Copy Markdown
Member Author

need to fix this warning error

In file included from engine\include/toast/events/event.hpp:18,
                 from tests\events\01-basic.cpp:1:
engine\include/toast/log.hpp:24:43: warning: inline function 'constexpr std::string_view logging::_detail::getOnlyName(std::string_view)' declared as dllimport: attribute ignored [-Wattributes]
   24 | constexpr auto TOAST_API getOnlyName(std::string_view path) -> std::string_view {
      |                                           ^~~~~~~~~~~
cc1plus.exe: note: unrecognized command-line option '-Wno-gnu-line-marker' may have been intended to silence earlier diagnostics

@ynks
ynks marked this pull request as draft May 9, 2026 14:05
@ynks

ynks commented May 10, 2026 •

Copy link
Copy Markdown
Member Author
[ 22%]: <events/05-arguments> cache compiling.debug tests/events/05-arguments.cpp
create ok!
compile_commands.json updated!
error: engine/include/toast/events/event.hpp:25:10: fatal error: 'stacktrace' file not found
   25 | #include <stacktrace>
      |          ^~~~~~~~~~~~
1 error generated.

consider switching to boost::stacktrace for like, yk, actually working on a computer that is not yours (vs2022 doesnt support std::stacktrace, neither does gcc14 (only 15 and up) or macOS)

@ynks ynks closed this May 12, 2026
@ynks
ynks deleted the hotfix/windows branch May 14, 2026 13:29
@dariormt
dariormt restored the hotfix/windows branch October 26, 2026 10:59
@dariormt
dariormt deleted the hotfix/windows branch October 26, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants